
<ion-view view-title="账户" hide-nav-bar="true"> 
  <ion-content class="bgeee">
    <div class="login item-icon-right assertive-bg" can-swipe="false" ng-show="nologinDiv">      
      <div class="login-avatar tc">
        <i class="size-32 light icon icon-person"></i>
      </div>
      <div class="login-item light size-18" ui-sref="user-login" nav-direction="forward">
        登录/注册<br>
      </div>
      <i class="icon light size-21 ion-chevron-right icon-accessory" ></i>       
    </div>
    <div class="login item-icon-right assertive-bg" can-swipe="false" ng-show="loginDiv" ui-sref="user-detail" nav-direction="forward">      
      <div class="login-avatar tc">
        <i class="size-32 light icon icon-person"></i>
      </div>
      <div class="login-item light size-18">
        {{phone | limitTo:3}}****{{phone | limitTo:-4}}&nbsp;&nbsp;&nbsp;&nbsp;{{realname}}<br>
        <a class="assertive" ng-if="isauth" nav-direction="forward">未认证会员</a>
        <a class="assertive" ng-if="istradepwd" nav-direction="forward">未设置交易密码</a>
      </div>
      <!-- <span class="login-arrowf light">设置</span> -->
      <i class="icon light size-21 ion-chevron-right icon-accessory" ></i>        
    </div>
    <div class="user-index-total assertive-bg item-icon-right" ng-show="loginDiv">
      <div class="latestincome">
        <p class="tc light">总资产<a class="size-24 light"> ¥{{assets.totalMoney}}</a></p>
      </div>
      <div class="line"></div>
      <div class="totalincome" ui-sref="user-asset-trhistoryall" nav-direction="forward">
        <p class="light tr">交易记录</p>
      </div>
      <i class="icon light ion-chevron-right icon-accessory" ></i>
    </div>
    <ion-list can-swipe="false" ng-show="loginDiv">
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-asset-dqb" nav-direction="forward">
        <i class="icon icon-qianbao" style="font-size:25px"></i>
        <h2>定期理财</h2>
        <span class="total-number assertive" ng-show="loginDiv"><a class="assertive size-21">¥{{assets.periodMoney}}</a></span>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-asset-hqb" nav-direction="forward">
        <i class="icon icon-qianbao" style="font-size:25px"></i>
        <h2>灵活理财</h2>
        <span class="total-number assertive" ng-show="loginDiv"><a class="assertive size-21">¥{{assets.livingMoney}}</a></span>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
    </ion-list> 
    <ion-list can-swipe="false" ng-show="nologinDiv">
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-login" nav-direction="forward">
        <i class="icon icon-qianbao" style="font-size:25px"></i>
        <h2>定期理财</h2>
        <span class="total-number assertive" ng-show="loginDiv"><a class="assertive size-21">¥{{assets.periodMoney}}</a></span>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-login" nav-direction="forward">
        <i class="icon icon-qianbao" style="font-size:25px"></i>
        <h2>灵活理财</h2>
        <span class="total-number assertive" ng-show="loginDiv"><a class="assertive size-21">¥0</a></span>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
    </ion-list>

    <div class="user-index-asset light-bg" ng-show="loginDiv">
      <div class="latestincome">
        <p class="tc">定期预计收益</p>
        <p class="tc"><a class="assertive size-21">¥{{assets.expectIncome}}</a></p>
      </div>
      <div class="line"></div>
      <div class="totalincome">
        <p class="tc">活期累计收益</p>
        <p class="tc"><a class="assertive size-21">¥{{assets.totalIncome}}</a></p>
      </div>
    </div>
<!--<a class="assertive" ng-if="isauth"  ui-sref="user-auth" nav-direction="forward">未认证会员</a>
<a class="assertive" ng-if="istradepwd"  ui-sref="user-set-trade-password" nav-direction="forward">未设置交易密码</a> -->


    <div class="div-divider"></div>
    <!--公司简介-->
    <ion-list can-swipe="false" ng-show="loginDiv">
      <ion-item class="item-icon-left item-icon-right" ui-sref="consul" nav-direction="forward">
        <i class="icon icon-qa" style="font-size:25px"></i>
        <h2>我的咨询</h2>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
      <ion-item class="item-icon-left item-icon-right"  ui-sref="voucher({state:0})" nav-direction="forward">
        <i class="icon icon-liwu" style="font-size:25px"></i>
        <h2>我的优惠</h2>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-detail" nav-direction="forward">
        <i class="icon ion-ios-gear-outline"></i>
        <h2>个人设置</h2>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
    </ion-list>
    <ion-list can-swipe="false" ng-show="nologinDiv">
      <ion-item class="item-icon-left item-icon-right" ui-sref="user-login" nav-direction="forward">
        <i class="icon icon-qa" style="font-size:25px"></i>
        <h2>我的咨询</h2>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-login" nav-direction="forward">
        <i class="icon icon-liwu" style="font-size:25px"></i>
        <h2>我的优惠</h2>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
      <ion-item class="item-icon-left item-icon-right"  ui-sref="user-login" nav-direction="forward">
        <i class="icon ion-ios-gear-outline"></i>
        <h2>个人设置</h2>
        <i class="icon ion-chevron-right icon-accessory"></i>
      </ion-item>
    </ion-list>
  </ion-content>
</ion-view>
